#ifndef GREPPANEL_H
#define GREPPANEL_H

#include <QWidget>
#include <QLineEdit>
#include <QPushButton>

class GrepPanel : public QWidget
{
    Q_OBJECT
public:
    explicit GrepPanel(QWidget *parent = 0);
    ~GrepPanel();
    void setEditFocus();
signals:
    void grepStarted(QString aPattern);
    void donePressed();
public slots:
    void onGrepPressed();
    void onDonePressed();
private:
    QLineEdit * m_pattern;
    QPushButton * m_grepButton;
    QPushButton * m_doneButton;
    
};

#endif // GREPPANEL_H
